projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd44f6d
)
gtk/gtkstylecascade.c: Declare variables at beginning of block
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 27 Jun 2016 03:58:42 +0000
(11:58 +0800)
committer
Chun-wei Fan
<fanchunwei@src.gnome.org>
Mon, 27 Jun 2016 03:58:42 +0000
(11:58 +0800)
gtk/gtkstylecascade.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstylecascade.c
b/gtk/gtkstylecascade.c
index 2c890f536d9ec98e4cfd267b939f8b0d172c4927..7a8950b0b05807a951a493fe4138b23130d80068 100644
(file)
--- a/
gtk/gtkstylecascade.c
+++ b/
gtk/gtkstylecascade.c
@@
-49,10
+49,11
@@
gtk_style_cascade_iter_next (GtkStyleCascade *cascade,
for (cas = cascade, ix = 0; ix < iter->n_cascades; cas = cas->parent, ix++)
{
+ GtkStyleProviderData *data;
if (iter->cascade_index[ix] <= 0)
continue;
-
GtkStyleProviderData *
data = &g_array_index (cas->providers,
+ data = &g_array_index (cas->providers,
GtkStyleProviderData,
iter->cascade_index[ix] - 1);
if (highest_priority_data == NULL || data->priority > highest_priority_data->priority)